﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/user/User.master" AutoEventWireup="true"
    CodeFile="ActiveUser.aspx.cs" Inherits="admin_user_ActiveUser" %>

<%@ MasterType VirtualPath="~/admin/user/User.master" %>
<%@ Reference VirtualPath="~/admin/Admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Active User
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <div class="a-field">
        <label>
            Username <span class="vtip a-tooltip" title="Enter a username to set status.">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
        </div>
        <asp:Button ID="btnSearch" Style="padding: 6px 10px; margin-left: 20px;"  runat="server" Text="Search" CssClass="a-button" OnClick="btnSearch_Click" />
    </div>
    <div class="<asp:Literal ID="ltrInfo" runat="server"></asp:Literal>">
    <div class="a-field">
        <label>
            Full Name</label>
        <div class="a-text">
            <asp:TextBox ID="txtFullName" runat="server" Enabled="false"></asp:TextBox>
        </div>
    </div>
     <div class="a-field">
        <label>
            Email
        </label>
        <div class="a-text">
            <asp:TextBox ID="txtEmail" runat="server" Enabled="false"></asp:TextBox>
        </div>
    </div>
     <div class="a-field">
        <label>
            Organization</label>
        <div class="a-text">
            <asp:TextBox ID="txtOrganization" runat="server" Enabled="false"></asp:TextBox>
        </div>
    </div>
        <!-- a check-box -->
        <div class="a-field">
            <label>Active Status <span class="vtip a-tooltip" title="Set this status to Off to Disable a user, which means user will not be able to log into KillDaBugs.<br />Set this Status to On to Re-enabled user.">(?) </span></label>
            <div class="a-switch">
                <label class="a-on">On</label>
                <label class="a-off">Off</label>
                <asp:CheckBox ID="chbActive" runat="server" />
            </div>
        </div>
    <div class="a-field">
        <asp:Button ID="btnUpdate" runat="server" Text="Set Status" CssClass="a-button"
            onclick="btnUpdate_Click"/>
    </div>

    </div>
    <div class="a-field">
        <asp:Literal ID="ltrResultMessage" runat="server"></asp:Literal>
    </div>
</asp:Content>